package com.gitee.mars.tourserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gitee.mars.tourserver.entity.ScenicArea;
import com.gitee.mars.tourserver.request.ScenicAreaRequest;
import com.gitee.mars.tourserver.response.base.PageInfo;

/**
 * ScenicArea 接口
 *
 * @Author wq
 * @Date 2021-04-11
 **/
public interface IScenicAreaService extends IService<ScenicArea> {

    /**
     * 根据城市获取
     *
     * @param city city
     */
    void acquire(String city);

    /**
     * 获取中国所有的城市景点
     */
    void acquireGlobalCity();


    /**
     * 列表
     *
     * @param request request
     * @return PageInfo<ScenicArea>
     */
    PageInfo<ScenicArea> list(ScenicAreaRequest request);
}
